package office.action.business.wrapper;

import java.util.Date;

import office.bo.business.impl.BidBook;
import platform.common.bo.IdentifiableObj;

public class BidBookWrapper {
	private String id;
	private String projectName;//项目名称
	private String biddingUnit;//招标公司
	private Date   biddingTime;//招标日期
	private String bidUnit;    //中标单位
	private String salesMan;   //业务员
	private String applyMan;   //申请人
	private double totalPrice; //总价
	private double tenderMoney;//投标金额
	private double bidBookPrice;//标书费
	private double tenderMargin;//投标保证金
	private double bidServicePrice;//中标服务费
	private double otherPrice;//其它费
	private int status;//审批状态
	private int bidStatus;//是否中标
	private String mark;//备注
	private String salesManName;
	private String productName;
	/**
	 * 从bo拷贝属性
	 * @param baseBO
	 */
	public void copyToWrapper(IdentifiableObj baseBO){
		BidBook bo = (BidBook)baseBO;
		this.id = bo.getId().toString();
		this.projectName = bo.getProjectName();
		this.biddingUnit = bo.getBiddingUnit();
		this.biddingTime = bo.getBiddingTime();
		this.bidUnit = bo.getBidUnit();
		this.salesMan = bo.getSalesMan();
		this.applyMan = bo.getApplyMan();
		this.totalPrice = bo.getTotalPrice();
		this.tenderMoney = bo.getTenderMoney();
		this.bidBookPrice = bo.getBidBookPrice();
		this.tenderMargin = bo.getTenderMargin();
		this.bidServicePrice = bo.getBidServicePrice();
		this.otherPrice = bo.getOtherPrice();
		this.status = bo.getStatus();
		this.bidStatus = bo.getBidStatus();
		this.mark = bo.getMark();
		this.salesManName= bo.getSalesManName();
		this.productName = bo.getProductName();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getBiddingUnit() {
		return biddingUnit;
	}

	public void setBiddingUnit(String biddingUnit) {
		this.biddingUnit = biddingUnit;
	}

	public Date getBiddingTime() {
		return biddingTime;
	}

	public void setBiddingTime(Date biddingTime) {
		this.biddingTime = biddingTime;
	}

	public String getBidUnit() {
		return bidUnit;
	}

	public void setBidUnit(String bidUnit) {
		this.bidUnit = bidUnit;
	}

	public String getSalesMan() {
		return salesMan;
	}

	public void setSalesMan(String salesMan) {
		this.salesMan = salesMan;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public double getTenderMoney() {
		return tenderMoney;
	}

	public void setTenderMoney(double tenderMoney) {
		this.tenderMoney = tenderMoney;
	}

	public double getBidBookPrice() {
		return bidBookPrice;
	}

	public void setBidBookPrice(double bidBookPrice) {
		this.bidBookPrice = bidBookPrice;
	}

	public double getTenderMargin() {
		return tenderMargin;
	}

	public void setTenderMargin(double tenderMargin) {
		this.tenderMargin = tenderMargin;
	}

	public double getBidServicePrice() {
		return bidServicePrice;
	}

	public void setBidServicePrice(double bidServicePrice) {
		this.bidServicePrice = bidServicePrice;
	}

	public double getOtherPrice() {
		return otherPrice;
	}

	public void setOtherPrice(double otherPrice) {
		this.otherPrice = otherPrice;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public int getBidStatus() {
		return bidStatus;
	}

	public void setBidStatus(int bidStatus) {
		this.bidStatus = bidStatus;
	}

	public String getApplyMan() {
		return applyMan;
	}

	public void setApplyMan(String applyMan) {
		this.applyMan = applyMan;
	}

	public String getSalesManName() {
		return salesManName;
	}

	public void setSalesManName(String salesManName) {
		this.salesManName = salesManName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}
	
}
